package com.agileplex.codeminer;

/**
 * 
 * 
 * @creator Weiming Yin
 * @date 2007-6-7
 *
 * @lastmodified
 * @author $Author: yinweiming $
 * @version $Revision: 12 $, $Date: 2007-06-06 16:11:16 +0000 (Wed, 06 Jun 2007) $
 */
public class CodeMinerException extends RuntimeException {

	protected CodeMinerCause cause;
	public CodeMinerException(String msg) {
		this(msg, null, null);
	}
	
	public CodeMinerException(Throwable e) {
		this("", null, e);
	}
	
	public CodeMinerException(CodeMinerCause cause) {
		this("", cause, null);
	}
	
	public CodeMinerException(CodeMinerCause cause, Throwable e) {
		this("", cause, e);
	}
	
	public CodeMinerException(String msg, CodeMinerCause cause, Throwable e) {
		super(msg, e);
		this.cause = cause;
	}
}
